import axios from '@/libs/request'

/***
 * 防疫消杀情况
 */
// 防疫消杀情况 - 列表
export const getFYXSQKList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/getFYXSQKList',
    data: data,
    type: 'post'
  })
}
// 防疫消杀情况 - 增删改
export const insertFYXSQKInfo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/insertFYXSQKInfo',
    data: data,
    type: 'post'
  })
}
/***
 * 核酸检测情况
 */
// 核酸检测情况 - 列表
export const getHSJCQKList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/getHSJCQKList',
    data: data,
    type: 'post'
  })
}
// 核酸检测情况 - 增删改
export const insertHSJCQKInfo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/insertHSJCQKInfo',
    data: data,
    type: 'post'
  })
}
/***
 * 救治力量
 */
// 救治力量 - 列表
export const getJZLLList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/getJZLLList',
    data: data,
    type: 'post'
  })
}
// 救治力量 - 增删改
export const insertJZLLInfo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/insertJZLLInfo',
    data: data,
    type: 'post'
  })
}
/***
 * 救治力量弹窗
 */
// 救治力量弹窗 - 列表
export const getJZLLTCList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/getJZLLTCList',
    data: data,
    type: 'post'
  })
}
// 救治力量弹窗 - 增删改
export const insertJZLLTCInfo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/yiqingdao/insertJZLLTCInfo',
    data: data,
    type: 'post'
  })
}

/**
* 2疫点分布列表
* @param data
* @returns {ClientRequest | ClientHttp2Stream | * | never | Promise<AxiosResponse<T>>}
*/
export const getEpidemicDistributionTwoList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/getEpidemicDistributionTwoList',
    data: data,
    type: 'post'
  })
}
/**
 * 2疫点分布审批
 * @param data
 * @returns {ClientRequest | ClientHttp2Stream | * | never | Promise<AxiosResponse<T>>}
 */
export const updateEDTwoState = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/updateEDTwoState',
    data: data,
    type: 'post'
  })
}
/**
 * 2疫点分布删除
 * @param data
 * @returns {ClientRequest | ClientHttp2Stream | * | never | Promise<AxiosResponse<T>>}
 */
export const deleteEDTwo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/deleteEDTwo',
    data: data,
    type: 'post'
  })
}
/**
 * 2疫点分布新增
 * @param data
 * @returns {ClientRequest | ClientHttp2Stream | * | never | Promise<AxiosResponse<T>>}
 */
export const saveEDTwo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/saveEDTwo',
    data: data,
    type: 'post'
  })
}
/**
 * 4疫点分布列表
 * @param data
 * @returns {*}
 */
export const getEpidemicDistributionFourList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/getEpidemicDistributionFourList',
    data: data,
    type: 'post'
  })
}
/**
 * 4疫点分布删除
 * @param data
 * @returns {*}
 */
export const deleteEDFour = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/deleteEDFour',
    data: data,
    type: 'post'
  })
}
/**
 * 4疫点分布审批
 * @param data
 * @returns {*}
 */
export const updateEDFourState = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/updateEDFourState',
    data: data,
    type: 'post'
  })
}
/**
 * 4疫点分布审新增编辑
 * @param data
 * @returns {*}
 */
export const saveEDFour = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/saveEDFour',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况1列表
 * @param data
 * @returns {*}
 */
export const getTreatConditionOneList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/getTreatConditionOneList',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况1删除
 * @param data
 * @returns {*}
 */
export const deleteTCOne = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/deleteTCOne',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况1审批
 * @param data
 * @returns {*}
 */
export const updateTCOneState = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/updateTCOneState',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况1新增修改
 * @param data
 * @returns {*}
 */
export const saveTCOne = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/saveTCOne',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况2列表
 * @param data
 * @returns {*}
 */
export const getTreatConditionTwoList = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/getTreatConditionTwoList',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况2删除
 * @param data
 * @returns {*}
 */
export const deleteTCTwo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/deleteTCTwo',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况2审批
 * @param data
 * @returns {*}
 */
export const updateTCTwoState = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/updateTCTwoState',
    data: data,
    type: 'post'
  })
}
/**
 * 1诊疗救治情况2新增修改
 * @param data
 * @returns {*}
 */
export const saveTCTwo = (data) => {
  return axios.request({
    url: '/api/as/yiqing/epidemic/saveTCTwo',
    data: data,
    type: 'post'
  })
}
